#!/usr/bin/env python3.8
# -*- encoding: utf-8 -*-
'''
@File    :   models.py
@Time    :   2023/04/05 10:09:49
@Author  :   windstarry 
@Version :   1.0
'''
# here put the import lib

from sqlalchemy import Column, Integer, String
from .database import Base


class Books(Base):
    __tablename__ = "books"

    id = Column(Integer, primary_key=True, index=True)
    bookname = Column(String(100), unique=True)
    prices = Column(Integer)